package pers.amos.edu.pojo;

import javax.persistence.Table;
import javax.persistence.Transient;

/**
 * @author amos wong
 * @create 2020-02-01 19:01
 */

@Table(name = "tb_school_major")
public class SchoolMajor {
    /**
     * 专业所属学校的id
     */
    private Integer schoolId;
    /**
     * 专业所属学校的名字
     */
    private String schoolName;
    /**
     * 该专业的层次 本科/专科
     */
    private String level;
    /**
     * 专业的名称
     */
    private String majorName;
    /**
     * 选考科目要求
     */
    private String requirement;
    /**
     * 类中所含专业
     */
    private String fields;

    @Transient
    private Integer collectionStatus = 0;

    public Integer getSchoolId() {
        return schoolId;
    }

    public void setSchoolId(Integer schoolId) {
        this.schoolId = schoolId;
    }

    public String getSchoolName() {
        return schoolName;
    }

    public void setSchoolName(String schoolName) {
        this.schoolName = schoolName;
    }

    public String getLevel() {
        return level;
    }

    public void setLevel(String level) {
        this.level = level;
    }

    public String getMajorName() {
        return majorName;
    }

    public void setMajorName(String majorName) {
        this.majorName = majorName;
    }

    public String getRequirement() {
        return requirement;
    }

    public void setRequirement(String requirement) {
        this.requirement = requirement;
    }

    public String getFields() {
        return fields;
    }

    public void setFields(String fields) {
        this.fields = fields;
    }

    public Integer getCollectionStatus() {
        return collectionStatus;
    }

    public void setCollectionStatus(Integer collectionStatus) {
        this.collectionStatus = collectionStatus;
    }
}
